package com.dragon.mmochat.model.scheduleJob;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.dragon.mmochat.service.MmochatStatisticsService;

public class DailyStatisticsJob implements Job {

	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		try {
			MmochatStatisticsService.saveDailyStatisticsToSql();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
